package com.ontheroad.mysql.user.mapper;

import java.util.List;

import org.apache.ibatis.session.RowBounds;

import com.ontheroad.user.model.UserEntity;

/**
 * UserDAO接口
 *
 * @author admin
 */
public interface UserTopicMapper {

	UserEntity findByMobileAndPassword(String mobile, String password);

	UserEntity getUserByMobile(String mobile);

	void insertModel(UserEntity user);

	Integer getSportTimes(Integer userId);

	Integer getUnReadMsgCount(Integer userId);

	List<UserEntity> getUserByIds(Integer[] friendIds);

	List<UserEntity> getLikeListByCircleId(Integer circleId, RowBounds rowBounds);

	void modifyUser(UserEntity user);
}
